import { action } from '@storybook/addon-actions';
import type { ComponentMeta, ComponentStory } from '@storybook/react';
import React from 'react';

import UpsellModal from './UpsellModal';

export default {
	title: 'Components/UpsellModal',
	component: UpsellModal,
} as ComponentMeta<typeof UpsellModal>;

export const Example: ComponentStory<typeof UpsellModal> = () => (
	<UpsellModal
		title='Title'
		subtitle='Subtitle'
		description='The quick brown fox jumps over the lazy dog.'
		confirmText='Talk to Sales'
		cancelText='Close'
		img=''
		onConfirm={action('onConfirm')}
		onCancel={action('onCancel')}
		onClose={action('onClose')}
	/>
);
